﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeMonkey.EditableObject.Attributes
{
    /// <summary>
    /// 指示修饰的属性是否参与Transaction
    /// </summary>
    [Obsolete("暂勿使用",true)]
    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    sealed class TransactionAttribute : Attribute
    {
        public bool CanTransaction { get; private set; }
        public TransactionAttribute(bool canTransaction)
        {
            CanTransaction = canTransaction;
        }
    }
}
